package com.agency.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="apartment")
public class Apartment {
	
	public int idApartament;
	public String tipImobil;
	public boolean tipTranzactie;
	public short nrCamere;
//	public Date dataAdaugarii;
//	public String numeCartier;
//	public int pret;
//	public boolean mobilat; // dotari care apar pe pagina apartamentului
//	public boolean utilat;
//	public boolean finisat;
//	public boolean parchet;
//	public boolean gresie;
//	public boolean faianta;
//	public boolean centralaTermica;
//	public boolean termopan;
//	public boolean usaMetalica;
//	public boolean negociabil;
//	public boolean garaj;
//	public boolean locParcare;
//	public String structImobil;
//	public String etaj;
//	public short nrBai;
//	public short nrBalcoane;
//	public int suprafataUtila;
	
	@Id
	@GeneratedValue
	@Column(name="id_apartament")
	public int getIdApartament() {
		return idApartament;
	}
	public void setIdApartament(int idApartament) {
		this.idApartament = idApartament;
	}
	
	@Column(name="tip_imobil")
	public String getTipImobil() {
		return tipImobil;
	}
	public void setTipImobil(String tipImobil) {
		this.tipImobil = tipImobil;
	}
	
	@Column(name="tip_tranzactie")
	public boolean isTipTranzactie() {
		return tipTranzactie;
	}
	public void setTipTranzactie(boolean tipTranzactie) {
		this.tipTranzactie = tipTranzactie;
	}
	
	@Column(name="nr_camere")
	public short getNrCamere() {
		return nrCamere;
	}
	public void setNrCamere(short nrCamere) {
		this.nrCamere = nrCamere;
	}
	

}
